package net.akkz.dao;

import java.util.ArrayList;

import net.akkz.dbFactory.Session;
import net.akkz.exception.BuildClassError;
import net.akkz.exception.SQLExcuteException;
import net.akkz.model.FultureJoined;
import net.akkz.model.MyString;

public interface FultureJoinDao
{
	public void addFultureJoined(Session session, FultureJoined fultureJoined) throws SQLExcuteException;
	
	public boolean checkFultureJoined(Session session, FultureJoined fultureJoined) throws SQLExcuteException, BuildClassError;
	
	public ArrayList<FultureJoined> findFultureJoinedByFultureId(Session session, int fultureId) throws SQLExcuteException, BuildClassError;
	
	public ArrayList<FultureJoined> findFultureJoinedByStudentId(Session session, int studentId) throws SQLExcuteException, BuildClassError;
	
	public ArrayList<MyString> findFultureJoinedNameByFultureId(Session session, int fultureId) throws SQLExcuteException, BuildClassError;
	
	public void delFultureJoined(Session session, FultureJoined fultureJoined) throws SQLExcuteException;
}
